package com.dd.cloud.user.mapper.patient;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dd.cloud.user.entity.patient.PatientUserAppraise;
import com.dd.cloud.user.res.patient.PatientUserAppraiseRes;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户评价表 Mapper 接口
 * </p>
 *
 * @author czg
 * @since 2023-07-17
 */
public interface PatientUserAppraiseMapper extends BaseMapper<PatientUserAppraise> {

    /**
     * 查询评价
     *
     * @param page
     * @param userId
     * @return
     */
    IPage<PatientUserAppraiseRes> queryPatientUserAppraise(@Param("page") IPage<PatientUserAppraise> page,
                                                           @Param("userId") Integer userId);
}
